package com.xiyu.service.vo.infra.devops.customer;

import com.xiyu.service.vo.devops.customer.baseVO.DevopsCustomerBase;
import com.xiyu.service.vo.devops.project.baseVO.DevopsProjectVersionBase;
import com.xiyu.service.vo.devops.project.baseVO.DevopsProjectBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import jakarta.validation.constraints.NotBlank;
import org.hibernate.validator.constraints.Length;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;
import java.math.BigDecimal;

@Schema(description = "获取单个客户信息")
@Data
@AllArgsConstructor
public class CustomerGetSingleCustomerInfoOutput extends DevopsCustomerBase {

    @Schema(description = "服务器")
    @Valid
    private server server;

    @Schema(description = "项目版本")
    @Valid
    private version version;

    @Schema(description = "项目管理")
    @Data
    public static class project extends DevopsProjectBase {
    }

    @Schema(description = "项目版本")
    @Data
    public static class version extends DevopsProjectVersionBase {

        @Schema(description = "项目管理")
        @Valid
        private project project;
    }

    @Schema(description = "服务器")
    @Data
    public static class server {

        @Schema(description = "服务器ip")
        private String ip;

        @Schema(description = "后端服务端口")
        private Integer port;
    }
}